﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks; 
namespace ST.Core
{
    public class ApiResult<T>
    {
        public string Code { get; set; } = "";
        public string Message { get; set; } = "";
        public T Data { get; set; }

        public static ApiResult<T> Create(T t)
        {
            return new ApiResult<T> { Code = "", Message = "", Data = t };
        }
        
    }
}
